/* Class53 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Component;

public class Class53
{
    public static int[] anIntArray952 = new int[99];
    public static JString aClass3_953;
    public static JString aClass3_954;
    public static Class7 aClass7_955;
    public static JString aClass3_956;
    public static JString aClass3_957;
    public static JString aClass3_958;
    public static JString aClass3_959;
    public static JString aClass3_960;
    public static JString aClass3_961;
    public static int anInt962;
    public static JString aClass3_963;
    public static int[] anIntArray964;
    public static int anInt965;
    public static JString aClass3_966;
    public static JString aClass3_967;
    public static int anInt968;
    public static int[] anIntArray969;
    public static int[] anIntArray970;
    
    public static void method982(int i, Component component) {
	component.removeMouseListener(Class39_Sub13.aClass42_1502);
	component.removeMouseMotionListener(Class39_Sub13.aClass42_1502);
	component.removeFocusListener(Class39_Sub13.aClass42_1502);
    }
    
    public static void method983(byte i) {
	aClass3_958 = null;
	aClass3_963 = null;
	anIntArray969 = null;
	aClass3_953 = null;
	aClass7_955 = null;
	aClass3_966 = null;
	anIntArray964 = null;
	anIntArray952 = null;
	aClass3_961 = null;
	aClass3_960 = null;
	anIntArray970 = null;
	aClass3_967 = null;
	aClass3_959 = null;
	aClass3_954 = null;
	aClass3_956 = null;
	aClass3_957 = null;
    }
    
    public static void method984(int i) {
	Class39_Sub5_Sub11.inputStream.initBitAccess();
	int i_0_
	    = Class39_Sub5_Sub11.inputStream.readBits(8);
	if (i_0_ < OnDemandFetcher.anInt1210) {
	    for (int i_1_ = i_0_; i_1_ < OnDemandFetcher.anInt1210; i_1_++)
		Class26.anIntArray496[Class40.anInt749++]
		    = Renderable.anIntArray1734[i_1_];
	}
	if (OnDemandFetcher.anInt1210 < i_0_)
	    throw new RuntimeException("gnpov1");
	OnDemandFetcher.anInt1210 = 0;
	for (int i_2_ = 0; i_2_ < i_0_; i_2_++) {
	    int i_3_ = Renderable.anIntArray1734[i_2_];
	    Class39_Sub5_Sub4_Sub4_Sub1 class39_sub5_sub4_sub4_sub1
		= (Class39_Sub5_Sub4_Sub3.aClass39_Sub5_Sub4_Sub4_Sub1Array2241
		   [i_3_]);
	    int i_4_
		= Class39_Sub5_Sub11.inputStream.readBits(1);
	    if (i_4_ == 0) {
		Renderable.anIntArray1734[OnDemandFetcher.anInt1210++] = i_3_;
		class39_sub5_sub4_sub4_sub1.anInt2290 = Class2.anInt48;
	    } else {
		int i_5_ = Class39_Sub5_Sub11.inputStream
			       .readBits(2);
		if (i_5_ == 0) {
		    Renderable.anIntArray1734[OnDemandFetcher.anInt1210++]
			= i_3_;
		    class39_sub5_sub4_sub4_sub1.anInt2290 = Class2.anInt48;
		    Class39_Sub9.anIntArray1400[Class57_Sub2.anInt1586++]
			= i_3_;
		} else if (i_5_ == 1) {
		    Renderable.anIntArray1734[OnDemandFetcher.anInt1210++]
			= i_3_;
		    class39_sub5_sub4_sub4_sub1.anInt2290 = Class2.anInt48;
		    int i_6_ = Class39_Sub5_Sub11.inputStream
				   .readBits(3);
		    class39_sub5_sub4_sub4_sub1.method518(-1, i_6_, false);
		    int i_7_ = Class39_Sub5_Sub11.inputStream
				   .readBits(1);
		    if (i_7_ == 1)
			Class39_Sub9.anIntArray1400[Class57_Sub2.anInt1586++]
			    = i_3_;
		} else if (i_5_ == 2) {
		    Renderable.anIntArray1734[OnDemandFetcher.anInt1210++]
			= i_3_;
		    class39_sub5_sub4_sub4_sub1.anInt2290 = Class2.anInt48;
		    int i_8_ = Class39_Sub5_Sub11.inputStream
				   .readBits(3);
		    class39_sub5_sub4_sub4_sub1.method518(-1, i_8_, true);
		    int i_9_ = Class39_Sub5_Sub11.inputStream
				   .readBits(3);
		    class39_sub5_sub4_sub4_sub1.method518(-1, i_9_, true);
		    int i_10_ = Class39_Sub5_Sub11.inputStream
				    .readBits(1);
		    if (i_10_ == 1)
			Class39_Sub9.anIntArray1400[Class57_Sub2.anInt1586++]
			    = i_3_;
		} else if (i_5_ == 3)
		    Class26.anIntArray496[Class40.anInt749++] = i_3_;
	    }
	}
    }
    
    public static void method985(boolean bool, boolean bool_11_) {
	Class41.anInt780++;
	if (bool_11_)
	    method986(-121, 57, 95);
	if (Class41.anInt780 >= 50 || bool) {
	    Class41.anInt780 = 0;
	    do {
		if (!RSInterface.aBoolean2116
		    && Class37.activeSocket != null) {
		    Class34.anInt604++;
		    PacketStream.outputStream
			.writePacket(86);
		    try {
			Class37.activeSocket.write
			    (-1,
			     (PacketStream.outputStream
			      .buffer),
			     (PacketStream.outputStream
			      .currentOffset),
			     0);
			PacketStream.outputStream.currentOffset
			    = 0;
		    } catch (java.io.IOException ioexception) {
			RSInterface.aBoolean2116 = true;
			break;
		    }
		    break;
		}
	    } while (false);
	}
    }
    
    public static boolean method986(int i, int i_12_, int i_13_) {
	if (i_12_ == 0 && Class39_Sub5_Sub6.anInt1760 == i)
	    return true;
	if (i_13_ == i_12_ && Class39_Sub10.anInt1440 == i)
	    return true;
	if ((i_12_ == 2 || i_12_ == 3) && i == Class39_Sub5_Sub16.anInt1982)
	    return true;
	return false;
    }
    
    static {
	int i = 0;
	for (int i_14_ = 0; i_14_ < 99; i_14_++) {
	    int i_15_ = i_14_ + 1;
	    int i_16_ = (int) (Math.pow(2.0, (double) i_15_ / 7.0) * 300.0
			       + (double) i_15_);
	    i += i_16_;
	    anIntArray952[i_14_] = i / 4;
	}
	aClass3_956
	    = (Class39_Sub5_Sub9.createJString
	       (110, "Sie befinden sich in einem Mitglieder)2Gebiet(Q"));
	aClass3_954 = Class39_Sub5_Sub9.createJString(115, "wave:");
	aClass3_957 = Class39_Sub5_Sub9.createJString(122, " ");
	aClass3_953 = aClass3_957;
	aClass3_959 = Class39_Sub5_Sub9.createJString(109, "@cr2@");
	aClass3_958 = aClass3_954;
	aClass7_955 = new Class7(64);
	aClass3_961
	    = Class39_Sub5_Sub9.createJString(106,
					  "Das ist eine Mitglieder)2Welt(Q");
	aClass3_960
	    = Class39_Sub5_Sub9
		  .createJString(109, "Your profile will be transferred in:");
	anInt962 = -1;
	aClass3_966
	    = Class39_Sub5_Sub9
		  .createJString(108, "m-Ochte sich mit Ihnen duellieren)3");
	aClass3_963 = Class39_Sub5_Sub9.createJString(108, "Classic");
	aClass3_967 = aClass3_960;
	anIntArray964 = new int[] { 0, -1, 0, 1 };
	anInt968 = 0;
    }
}
